Skip to content

feat(BigNumber): support icons before and after the number - #3742

Open
Lisa18289 wants to merge 1 commit into
nextfrom
claude/big-number-icon-support-651323
Open

Lisa18289 wants to merge 1 commit into
nextfrom
claude/big-number-icon-support-651323

Conversation

@Lisa18289

Copy link
Copy Markdown
Member

BigNumber now lays out an Icon placed before or after the number Text in the number's row, with the label below. Which icon, color and aria-label is up to the consumer, so there is no new prop — a simpler take on the trend indicator the issue proposed.

The 4px gap between number and label is dropped; the line height alone separates them now. To be confirmed with UX.

Stories, a docs example ("Mit Icon"), the remote demos and the visual test cover the new layout.

Closes #3663

🤖 Generated with Claude Code

@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@Lisa18289 Lisa18289 self-assigned this Nov 26, 2026
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Report for ./packages/components/

Status Category Percentage Covered / Total
🔵 Lines 65.71% 1560 / 2374
🔵 Statements 65.16% 1601 / 2457
🔵 Functions 51.97% 355 / 683
🔵 Branches 58.08% 848 / 1460
File CoverageNo changed files found.
Generated in workflow #7773 for commit 51d4393 by the Vitest Coverage Report Action

@Lisa18289
Lisa18289 changed the base branch from main to next November 26, 2026 05:31
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Preview environments are ready:

Type URL
docs pr-3742.docs.review.flow-components.de
storybook pr-3742.storybook.review.flow-components.de

Images:

  • docs: ghcr.io/mittwald/flow/docs:pr-3742
  • storybook: ghcr.io/mittwald/flow/storybook:pr-3742

@Lisa18289 Lisa18289 added update-screenshots Label a PR to update the screenshots used for visual regression testing and removed update-screenshots Label a PR to update the screenshots used for visual regression testing labels Nov 26, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@Lisa18289
Lisa18289 marked this pull request as ready for review November 26, 2026 05:59
@Lisa18289
Lisa18289 requested a review from a team November 26, 2026 05:59
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@Lisa18289 Lisa18289 added the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@github-actions github-actions Bot removed the update-screenshots Label a PR to update the screenshots used for visual regression testing label Nov 26, 2026
@Lisa18289
Lisa18289 enabled auto-merge November 27, 2026 07:45
An Icon placed as a child before or after the number Text now sits in the
number's row; the label Text below takes its own row. Icon, color and
aria-label are up to the consumer, so BigNumber gets no new prop.

The 4px row gap between number and label is gone; the line height alone
separates them now.

The docs example shows an up-right arrow; stories, demos and the visual test
use a plus before and a down-right arrow after the number.

Closes #3663

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lisa18289
Lisa18289 force-pushed the claude/big-number-icon-support-651323 branch from ef39ff7 to cada94d Compare November 27, 2026 07:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BigNumber: optional trend indicator

1 participant